#include <iostream>
using namespace std;

#include <stdio.h>
struct A
{
    int a, b;
} B[2] = {1, 3, 6, 8};
 
int main() {
    // sizeof（数组名）返回的是数组的整个大小
    printf("%d\n", sizeof(B));

    struct A *ptr = B;
    printf("%d\n", (ptr++)->a);
    printf("%d\n", (ptr++)->b);
    return 0;
}

